package org.liang.auth.mapper;

import org.liang.auth.domain.Permission;
import org.liang.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liang
 * @since 2024-01-17
 */
@Repository
public interface PermissionMapper extends BaseMapper<Permission> {
    void deleteAll();

    List<Permission> perTree();

}
